import request from "@/utils/request";

/**
 * @description 充电站点营收排⾏
 * @returns {*}
 */
export function revenueScheduling(){
    return request({
        url:'/statistics/revenueScheduling',
        method:'GET',
    })
}

/**
 * 支付方式占⽐
 * @returns {*}
 */
export function paymentFormulaProportionStatistics(id){
    return request({
        url:'/statistics/paymentFormulaProportionStatistics',
        method:'GET',
        params:{id}
    })
}


/**
 * 今日营业额
 * @returns {*}
 */
export function currentTurnover(){
    return request({
        url:'/statistics/currentTurnover',
        method:'GET',
    })
}

/**
 * 二十四小时充电容量
 * @returns {*}
 */
export function twentyFourHourChargingCapacity(id){
    return request({
        url:'/statistics/twentyFourHourChargingCapacity',
        method:'GET',
        params:{id}
    })
}

/**
 * 24小时订单量
 * @returns {*}
 */
export function orderVolume(){
    return request({
        url:'/statistics/orderVolume',
        method:'GET',
    })
}

/**
 * 充电⾦额
 * @returns {*}
 */
export function chargingCapacity(){
    return request({
        url:'/statistics/chargingCapacity',
        method:'GET',
    })
}

/**
 * 充值金额
 * @returns {*}
 */
export function rechargeAmount(){
    return request({
        url:'/statistics/rechargeAmount',
        method:'GET',
    })
}

/**
 * 30天充电金额
 * @returns {*}
 */
export function chargingAmount(){
    return request({
        url:'/statistics/chargingAmount',
        method:'GET',
    })
}

/**
 * 7天充值金额
 * @returns {*}
 */
export function sevenDayRechargeAmount(){
    return request({
        url:'/statistics/sevenDayRechargeAmount',
        method:'GET',
    })
}

/**
 * 充电订单有效率
 * @returns {*}
 */
export function chargingOrderEfficiency(){
    return request({
        url:'/statistics/chargingOrderEfficiency',
        method:'GET',
    })
}

export function revenueOrderData(){
    return request({
        url:'/statistics/revenueOrderData',
        method:'GET',
    })
}

